package com.kaibes.core.base.util;

public class NumberUtils {

    public static boolean isLargeThenZero(Number id) {
        if (id != null) {
            if (id instanceof Long) {
                Long longId = (Long) id;
                return longId > 0;
            } else if (id instanceof Integer) {
                Integer integerId = (Integer) id;
                return integerId > 0;
            }
        }
        return false;
    }
}
